home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Halma 1.1.source Folder / Halma ƒ / Halma code ƒ / halma main window.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-17  |  1.2 KB  |  37 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        halma main window.h
  4.  
  5. Purpose:    This is the header file for halma main window.c.
  6.  
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or
  10. (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program in a file named "GNU General Public License".
  19. If not, write to the Free Software Foundation, 675 Mass Ave,
  20. Cambridge, MA 02139, USA.
  21.  
  22. \**********************************************************************/
  23.  
  24. #pragma once
  25.  
  26. #include "graphics.h"
  27.  
  28. #define NUM_BUTTONS 81
  29.  
  30. extern    Rect            gButtonRect[NUM_BUTTONS];
  31. extern    PicHandle        gPieceColorPict;
  32. extern    PicHandle        gPieceBWPict;
  33.  
  34. short MainWindowDispatch(WindowDataHandle theData, short theMessage,
  35.     unsigned long misc);
  36. void DrawScoreAndStuff(WindowDataHandle theData, short theDepth);
  37.